<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8"  />
		<title></title>
		<link rel="stylesheet" type="text/css" href="{$webSite}public/css/base.css"/>
	</head>

	<style>
		
		/*******	主体导航栏  a_head_main 	**********/
		.a_head_main{
			/* width:1000px; */
			width:82%;
			min-height:650px;
			float:left;
			margin-left:180px;
			margin-top:120px;
		}
		.main_site1_head{
			/* width:1000px; */
			width:100%;
			height:50px;
			border-bottom:1px #DEEFFB solid;
			line-height:50px;
			font-size:16px;
			font-weight:bold;
			color:#09C;
		}
		
		.main_site1_head2{
			/* width:1000px; */
			width:100%;
			height:35px;
			background:#F3F8FD;
			border-bottom:1px #DEEFFB solid;
			line-height:35px;
			font-size:14px;
			font-weight:bold;
			color:#09C;
		}

		.main_site2_form_head{
			/* width:1000px; */
			width:100%;
			height:40px;
			border-bottom:1px #DEEFFB solid;
			line-height:40px;
			
		}
		.main_site2_form_head .div1{
			width:90px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:70px;
			font-size:14px;
			font-weight:bold;
		}
		.main_site2_form_head .div1 span{
			font-size:12px;
			font-weight:100;
			color:#F60;
		}
		.main_site2_form_head .div2{
			width:80px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:80px;
			font-size:14px;
			font-weight:bold;
		}
		.main_site2_form_head .div3{
			width:80px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:80px;
			font-size:14px;
			font-weight:bold;
		}
		.main_site2_form_head .div4{
			width:120px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:105px;
			font-size:14px;
			font-weight:bold;
		}
		.main_site2_form_head .div5{
			width:120px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:100px;
			font-size:14px;
			font-weight:bold;
		}
		.main_site2_form_body{
			/* width:1000px; */
			width:100%;
			height:40px;
			border-bottom:1px #DEEFFB solid;
			line-height:40px;
			
		}
		.main_site2_form_body:hover{
		
			background:#F2F9FD;
			
		}
		.main_site2_form_body  .put1{
			float:left;	
			margin-left:20px;
		}
		.main_site2_form_body  .put2{
			float:left;
			width:100px;
			margin-left:55px;
			color:blue;
		}
		.main_site2_form_body  .put3{
			float:left;
			width:50px;
			margin-left:75px;
		}
		.main_site2_form_body  .put4{
			float:left;
			width:140px;
			margin-left:70px;
		}
		.main_site2_form_body  .put5{
			float:left;
			width:80px;
			margin-left:90px;
			font-weight:bold;

		}
		.main_site2_form_body  .put6{
			float:left;
			width:150px;
			margin-left:80px;

		}
		.main_site2_form_body  .put6 a{
			color:blue;
		}
	
		.main_site2_form_body  input:hover{
			border:1px #09C solid;
		}
		.main_site2_form_btn{
			/* width:1000px; */
			width:100%;
			height:50px;
			border-bottom:1px #DEEFFB solid;
			line-height:50px;
			margin-bottom:80px;
		}
		.main_site2_form_btn input{
			
			width:50px;
			height:25px;
			background:#7B68EE;
			color:#fff;
			font-size:14px;
			float:left;
			margin-top:10px;
			margin-left:20px;
		}
		.main_site2_form_btn  .btn{
			margin-left:85px;
		}

	</style>
	<body>
		<!-- 操作主体  a_head_main-->
		<div class="a_head_main">
			<div class="main_site1_head">用户回收站</div>
			
			<div class="main_site1_head2">&nbsp;共有 {$countUser2} 条用户记录</div>

			<!-- 删除,修改 链接部分 -->
			<!-- 头部 -->
			<div class="main_site2_form_head clearFix">
				
				<div class="div1">用户名</div>
				<div class="div2">积分</div>
				<div class="div3">注册时间</div>
				<div class="div4">用户类型</div>

			</div>
			
			<!-- form表单部分 -->

			<form action="{$webSite}admin/admin/admin_user2.php" method="post" enctype="multipart/form-data">
			
			<!-- foreach循环遍历处 -->
			{if $resUser}
			{foreach $resUser as $valUser}
				{if $valUser['uisdel'] == 1}
			<div class="main_site2_form_body clearFix">

				<div class="put1">
					<input type="checkbox" name="arrUser2[{$valUser['uid']}]" value="{$valUser['uid']}">
				</div>
			
				<div class="put2"">{$valUser['username']}</div>
			
				<div class="put3">{$valUser['grade']}</div>
			
				<div class="put4">{$t=date('Y-m-d H:i:s' , $valUser['regtime'])}</div>
			
				<div class="put5">{$type=$valUser['usertype']==1 ? '管理员' : '普通用户';}</div>
				
				<div class="put6">
					<a href="">积分</a>
					&nbsp;
					<a href="">详情</a>
					&nbsp;

					<!-- 判断用户是否锁定 -->
					{if $valUser['allowlogin'] == 0}
					<a href="">锁定用户</a>
					{/if}

					{if $valUser['allowlogin'] == 1}
					<a href="">解锁</a>
					{/if}

				</div>
			</div>
				{/if}
			{/foreach}
			{/if}

			<!-- 当没有数据时, 按钮隐藏 -->
			{if $countUser2}
			<div  class="main_site2_form_btn">
				<input class="btn" type="submit" value="删 除" name="userBtn2">
				<input class="btn" type="submit" value="恢 复" name="userBtn2">

			</div>
			{else}
			<div  class="main_site2_form_btn">
					<div style="color:red; font-size:2rem;text-align:center;">该页面暂无数据</div>	

			</div>
			{/if}

			</form>

		</div>
	</body>
</html>